home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 April / macformat-023.iso / Shareware City / HyperCard / Dock / Dock Help Folder / Message Box Stuff / cards.xml < prev    next >
Encoding:
Text File  |  1994-12-20  |  6.7 KB  |  216 lines

  1. card_2905.xml
  2. <?xml version="1.0" encoding="utf-8" ?>
  3. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  4. <card>
  5.     <id>2905</id>
  6.     <filler1>0</filler1>
  7.     <cantDelete> <false /> </cantDelete>
  8.     <showPict> <true /> </showPict>
  9.     <dontSearch> <false /> </dontSearch>
  10.     <owner>2735</owner>
  11.     <link rel="stylesheet" type="text/css" href="stylesheet_3109.css" />
  12.     <content>
  13.         <layer>background</layer>
  14.         <id>10</id>
  15.         <text>Message Box and the Player</text>
  16.     </content>
  17.     <content>
  18.         <layer>background</layer>
  19.         <id>56</id>
  20.         <text>10/11/94
  21. 2867306461</text>
  22.     </content>
  23.     <content>
  24.         <layer>background</layer>
  25.         <id>40</id>
  26.         <text>3/02/93
  27. 2811605116</text>
  28.     </content>
  29.     <content>
  30.         <layer>background</layer>
  31.         <id>116</id>
  32.         <text>11</text>
  33.     </content>
  34.     <content>
  35.         <layer>background</layer>
  36.         <id>71</id>
  37.         <text>Randy Ayling</text>
  38.     </content>
  39.     <content>
  40.         <layer>background</layer>
  41.         <id>39</id>
  42.         <text>1/4 </text>
  43.     </content>
  44.     <content>
  45.         <layer>background</layer>
  46.         <id>38</id>
  47.         <text><span class="style27">mportant note:
  48. None of this Message Box Stuff works with the Player.
  49. </span></text>
  50.     </content>
  51.     <content>
  52.         <layer>background</layer>
  53.         <id>9</id>
  54.         <text>"Trigger" "Dock Dictionary"
  55. "Triggers and Links" "Triggers and Links"
  56. </text>
  57.     </content>
  58.     <name>Message Box and the Player</name>
  59.     <script></script>
  60. </card>
  61.  
  62.  
  63. card_4398.xml
  64. <?xml version="1.0" encoding="utf-8" ?>
  65. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  66. <card>
  67.     <id>4398</id>
  68.     <filler1>0</filler1>
  69.     <cantDelete> <false /> </cantDelete>
  70.     <showPict> <true /> </showPict>
  71.     <dontSearch> <false /> </dontSearch>
  72.     <owner>2735</owner>
  73.     <link rel="stylesheet" type="text/css" href="stylesheet_3109.css" />
  74.     <content>
  75.         <layer>background</layer>
  76.         <id>10</id>
  77.         <text>Message Box Shortcuts</text>
  78.     </content>
  79.     <content>
  80.         <layer>background</layer>
  81.         <id>56</id>
  82.         <text>17/10/94
  83. 2865235206</text>
  84.     </content>
  85.     <content>
  86.         <layer>background</layer>
  87.         <id>40</id>
  88.         <text>3/02/93
  89. 2811605237</text>
  90.     </content>
  91.     <content>
  92.         <layer>background</layer>
  93.         <id>116</id>
  94.         <text>8</text>
  95.     </content>
  96.     <content>
  97.         <layer>background</layer>
  98.         <id>71</id>
  99.         <text>Randy Ayling</text>
  100.     </content>
  101.     <content>
  102.         <layer>background</layer>
  103.         <id>39</id>
  104.         <text>2/4 </text>
  105.     </content>
  106.     <content>
  107.         <layer>background</layer>
  108.         <id>38</id>
  109.         <text><span class="style2">he following handlers are included for convenience with Dock hypertext:
  110. </span><span class="style17">
  111. </span><span class="style21">on sac
  112.   show all cards
  113. end sac
  114. </span><span class="style17">
  115. </span><span class="style21">on cs
  116.   domenu "compact stack"
  117. end cs
  118. </span><span class="style17">
  119. </span><span class="style21">on td
  120.   put "--" && the long time && "-" && the date
  121. end td
  122.  
  123. -- Be careful with the next one, it‚Äôs a loaded gun, but I use it a lot:
  124.  
  125. </span><span class="style17">
  126. </span><span class="style21">on dc
  127.   put "-- Card deleted"
  128.   domenu "delete card"
  129. end dc
  130.  
  131.  
  132. </span></text>
  133.     </content>
  134.     <name>Message Box Shortcuts</name>
  135.     <script></script>
  136. </card>
  137.  
  138.  
  139. card_4768.xml
  140. <?xml version="1.0" encoding="utf-8" ?>
  141. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  142. <card>
  143.     <id>4768</id>
  144.     <filler1>0</filler1>
  145.     <cantDelete> <false /> </cantDelete>
  146.     <showPict> <true /> </showPict>
  147.     <dontSearch> <false /> </dontSearch>
  148.     <owner>2735</owner>
  149.     <link rel="stylesheet" type="text/css" href="stylesheet_3109.css" />
  150.     <content>
  151.         <layer>background</layer>
  152.         <id>10</id>
  153.         <text>Last Message</text>
  154.     </content>
  155.     <content>
  156.         <layer>background</layer>
  157.         <id>56</id>
  158.         <text>5/27/94
  159. 2852893398</text>
  160.     </content>
  161.     <content>
  162.         <layer>background</layer>
  163.         <id>40</id>
  164.         <text>3/02/93
  165. 2811605526</text>
  166.     </content>
  167.     <content>
  168.         <layer>background</layer>
  169.         <id>116</id>
  170.         <text>9</text>
  171.     </content>
  172.     <content>
  173.         <layer>background</layer>
  174.         <id>71</id>
  175.         <text>Randy Ayling</text>
  176.     </content>
  177.     <content>
  178.         <layer>background</layer>
  179.         <id>39</id>
  180.         <text>3/4 </text>
  181.     </content>
  182.     <content>
  183.         <layer>background</layer>
  184.         <id>38</id>
  185.         <text><span class="style2">his one is from ‚Äú</span><span class="style11"><a href="#" class="group">Power Tools</a></span><span class="style2">‚Äù ¬©Apple and it is indispensible.  Many messages sent from the box place results in the box itself.  Option‚ÄîReturn puts the last message sent by the user back in the box.
  186.  
  187. </span><span class="style21">on returnKey
  188.   global MyLastMsg
  189.   if the optionKey is down then put MyLastMsg into the msg box
  190.   else
  191.     put the msg box into MyLastMsg
  192.     pass returnKey
  193.   end if
  194. end returnKey
  195. </span></text>
  196.     </content>
  197.     <name>Last Message</name>
  198.     <script></script>
  199. </card>
  200.  
  201.  
  202. card_4918.xml
  203. <?xml version="1.0" encoding="utf-8" ?>
  204. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  205. <card>
  206.     <id>4918</id>
  207.     <filler1>0</filler1>
  208.     <bitmap>BMAP_2076.pbm</bitmap>
  209.     <cantDelete> <false /> </cantDelete>
  210.     <showPict> <true /> </showPict>
  211.     <dontSearch> <false /> </dontSearch>
  212.     <owner>2735</owner>
  213.     <link rel="stylesheet" type="text/css" href="stylesheet_3109.css" />
  214.     <content>
  215.         <layer>background</layer>
  216.         <id>10</id>
  217.         <text>Toggle Card Picture</text>
  218.     </content>
  219.     <content>
  220.         <layer>background</layer>
  221.         <id>56</id>
  222.         <text>21/10/94
  223. 2865577942</text>
  224.     </content>
  225.     <content>
  226.         <layer>background</layer>
  227.         <id>40</id>
  228.         <text>3/02/93
  229. 2811605739</text>
  230.     </content>
  231.     <content>
  232.         <layer>background</layer>
  233.         <id>116</id>
  234.         <text>10</text>
  235.     </content>
  236.     <content>
  237.         <layer>background</layer>
  238.         <id>71</id>
  239.         <text>Randy Ayling</text>
  240.     </content>
  241.     <content>
  242.         <layer>background</layer>
  243.         <id>39</id>
  244.         <text>4/4 </text>
  245.     </content>
  246.     <content>
  247.         <layer>background</layer>
  248.         <id>38</id>
  249.         <text><span class="style2">his one may be an improvement over the handler described in ‚ÄúPower Tools‚Äù.
  250. A binary system where each message puts the opposing message in the box.  It can be handy for showing the </span><span class="style11"><a href="#" class="group">Local Links Field</a></span><span class="style2"> ot the </span><span class="style11"><a href="#" class="group">Stack Catalog Field</a></span><span class="style2"> in </span><span class="style11"><a href="#" class="group">cards with pictures</a></span><span class="style2">.
  251.  
  252. </span><span class="style21">on scp
  253.   show card picture
  254.   put "hcp -- The card picture is VISIBLE"
  255. end scp
  256.  
  257. on hcp
  258.   hide card picture
  259.   put "scp -- The card picture is INVISIBLE"
  260. end hcp
  261. </span></text>
  262.     </content>
  263.     <content>
  264.         <layer>background</layer>
  265.         <id>9</id>
  266.         <text>"Picture Collections" "About Cards without text" "cards with pictures"
  267. </text>
  268.     </content>
  269.     <name>Toggle Card Picture</name>
  270.     <script>on openCard
  271. put "hcp"
  272. pass openCard
  273. end openCard
  274.  
  275. on closeCard
  276. show card picture
  277. hide msg
  278. pass closeCard
  279. end closeCard
  280.  
  281. on suspendStack
  282. show card picture
  283. hide msg
  284. pass suspendStack
  285. end suspendStack
  286.  
  287. on resumeStack
  288. put "hcp"
  289. pass resumeStack
  290. end resumeStack
  291. </script>
  292. </card>
  293.  
  294.  
  295.